luci-mod-network: tools.network: handle bridge config and vlan corner cases
authorJo-Philipp Wich <[email protected]>
Thu, 18 Mar 2021 16:19:42 +0000 (17:19 +0100)
committerRafał Miłecki <[email protected]>
Thu, 27 May 2021 10:19:05 +0000 (12:19 +0200)
commitf366dfe484a06bdd5e965a90d2000f9cd83cc3a3
treebafd8b7dd9dcac2d579a898b9d5a1b7358497eb4
parent482f342d2515a46c2040b06e7b27e0a7dd8c2a9e
luci-mod-network: tools.network: handle bridge config and vlan corner cases

 - Disable interface-level bridging if a corresponding br-$name bridge
   already exists as device declaration

 - Exempt wireless interfaces from bridge port configuration, they can only
   be attached indirectly through "option network"

 - Consider bridge ports from both "option ifname" in interface/device
   sections and from "option ports" in bridge-vlan ones

 - Small fixes for rendering quirks

Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 14fdce0fcdfe39ff4143b294a1f1f65d7c783ce7)
modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js